#ifndef _KRATOS_MONITOR_H_
#define _KRATOS_MONITOR_H_

#include "netlink.h"

extern int keep_running;

typedef int monitor_callback(int, int, Wifi*);

static int getWifiInfo_callback(struct nl_msg *msg, void *arg);
static int getWifiStatus(Netlink* nl, Wifi* w);

void monitor(const char *ifname, monitor_callback *funcp, unsigned long);

#endif
